package cn.coco.jf.fw.admin.sys.model.ptn;

import com.jfinal.plugin.activerecord.Model;

import cn.coco.jf.fw.admin.config.consts.SysConsts;

public class PtnPageModel extends Model<PtnPageModel>{
    /**
     * 
     */
    private static final long serialVersionUID = 1L;
    public static PtnPageModel dao = new PtnPageModel().use(SysConsts.DATA_SOURCE_NAME_MYSQL);
    
    public PtnPageModel newInstance(){
        return new PtnPageModel().use(SysConsts.DATA_SOURCE_NAME_MYSQL);
    }
    
    public PtnPageModel(){
        this.use(SysConsts.DATA_SOURCE_NAME_MYSQL);
    }
    
    private String ptnType;
    private String ptnTypeName;

    public String getPtnType() {
        return get("ptnType");
    }

    public void setPtnType(String ptnType) {
        set("ptnType", ptnType);
    }

    public String getPtnTypeName() {
        return get("ptnTypeName");
    }

    public void setPtnTypeName(String ptnTypeName) {
        set("ptnTypeName", ptnTypeName);
    }
}
